package top.ochiamalu.aioj.strategy.favor;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import top.ochiamalu.aioj.domain.entity.Favor;

/**
 * 收藏策略
 *
 * @author ochiamalu
 * @date 2025/03/07
 */
public interface FavorStrategy {
    /**
     * 建立查询条件
     *
     * @param queryWrapper 查询包装器
     * @param targetId     目标id
     */
    void buildQueryCondition(LambdaQueryWrapper<Favor> queryWrapper, Long targetId);
} 